home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / sysadmin.519 < prev    next >
Text File  |  1992-02-06  |  3KB  |  125 lines

  1. {\rtf0\ansi{\fonttbl\f3\fswiss Helvetica;\f2\fmodern Courier;\f0\fnil Times-Roman;}
  2. \paperw11440
  3. \paperh6000
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f3\b0\i0\ul0\fs24 netboot  write error 13 exports exportfs\
  7. \
  8.  
  9. \b Q:
  10. \b0   During the boot session of a netbooted client, the following error messages occur:\
  11. \
  12.     
  13. \f2 NFS write error 13 on host:
  14. \i servername
  15. \f3\i0 \
  16.     \
  17. The boot then stalls after 
  18. \b lookupd
  19. \b0 .  Why?\
  20.     \
  21.  
  22. \b A:
  23. \b0   The file systems for the netbooted client are not exported correctly from the server.  Error 13 means permission denied, as defined in 
  24. \i /usr/include/sys/errno.h
  25. \i0 , which means in this context that the client can't write to its private filesystem.\
  26. \
  27. A netbooted client needs two filesystems to boot.  Here's what needs to be in /etc/exports:\
  28. \
  29.  
  30. \f2     /    -access=
  31. \i clientname
  32. \i0 \
  33.     /clients/
  34. \i clientname
  35. \i0     -access=
  36. \i clientname
  37. \i0 ,root=
  38. \i clientname
  39. \i0 \
  40.     \
  41.  
  42. \f3 Every additional client will have a line for its private partition named /clients/
  43. \i clientname
  44. \i0 , where 
  45. \i clientname
  46. \i0  is the hostname of the netbooted client.   Every client also needs to be in the access list for the exports of the / filesytem, e.g:\
  47.  
  48. \f0\i\fs28     
  49. \f3\fs24 \
  50.     
  51. \f2\i0 /    -access=
  52. \i clientname
  53. \i0 :
  54. \i client2name
  55. \i0 \
  56.     \
  57.  
  58. \f3 The write error 13 is most commonly seen when there is a blank between the "," and the word "root" in the entry for private partition.  This blank will cause an incorrect export.   
  59. \b exportfs
  60. \b0  on the server will report the following 
  61. \i  
  62. \i0 (
  63. \i servername
  64. \i0  is the hostname of the machine that exports the client filesystems to the netbooted clients):\
  65. \
  66.  
  67. \f2\i servername
  68. \i0 #
  69. \b exportfs
  70. \b0 \
  71. / -access
  72. \i =clientname
  73. \i0 \
  74. /clients/
  75. \i clientname
  76. \i0  -access=
  77. \i clientname
  78. \i0 ,,access=root=
  79. \i clientname
  80. \i0 \
  81. \
  82.  
  83. \f3 Note that 
  84. \b exportfs
  85. \b0  shows an invalid export for /clients/
  86. \i clientname
  87. \i0 , as shown by the two commas and the invalid root and access option values.\
  88. \
  89. To fix the problem, remove the blank between the comma and the word "root" in the appropriate line in /etc/exports.  The filesystem must then be re-exported in order for the changes in /etc/exports to take place.  To do this, either reboot the server or type the following command from a Terminal or Shell as root:\
  90. \
  91.  
  92. \f2 servername#
  93. \b exportfs -av
  94. \b0 \
  95. \
  96.  
  97. \f3\b exportfs
  98. \b0  will then report a correctly exported filesystem:\
  99. \
  100.  
  101. \f2 servername#
  102. \b exportfs
  103. \b0 \
  104. /    -access
  105. \i =clientname
  106. \i0 \
  107. /clients/clientname    -access=
  108. \i clientname
  109. \i0 ,root=
  110. \i clientname
  111. \i0 \
  112. \
  113.  
  114. \f3 \
  115. See the Unix man page for details on 
  116. \b\i exportfs(8)
  117. \b0\i0 .\
  118. \
  119. QA519    \
  120. \
  121. Valid for 1.0 \
  122. Valid for 2.0\
  123. \
  124.  
  125.